#ifndef __ORACLEFACTORY_H__
#define __ORACLEFACTORY_H__
#include"factory.h"
#include"oracleconnection.h"
#include"oraclestatement.h"
class OracleFactory : public DBFactory
{
public:
	OracleFactory()
	{
	}
	static DBFactory* getInstance()
	{
		static OracleFactory oracleFactory;
		return &oracleFactory;
	}
	unique_ptr<Connection> createConnection()
	{
		return make_unique<OracleConnection>();
	}
	unique_ptr<Statement> createStatement()
	{
		return make_unique<OracleStatement>();
	}
};
#endif